#ifndef PARSER_H_INCLUDED
#define PARSER_H_INCLUDED
#include "Scanner.h"
#include "SymbolTable.h"

/* Parser */
void initParser(char ptr filename);
void clearParser();
void primeval();
void involvement();
void sequences();
void sequenceList();
void statementSequence();
void statement();
void expression();
void simpleExpression();
void term();
void factor();
void selector(type_t t);
void whileStatement();
void ifStatement();
void actualParameters();
void declaration();
void fieldDeclaration(symTab_t symTab);
void identList();
void identListDeclaration(type_t type, int class);
void identListFields(type_t type, symTab_t symTab);
void fieldIdentList();
void structure();
void procedureDeclaration();
void typeDeclaration();
type_t type();
type_t structType();
void body();
void formalParameters();


#endif // PARSER_H_INCLUDED
